{% load future wenlincms_tags wlcore_tags report_tags %}
<h1 class="pdf-headtitle">八、事件舆情</h1>
<div class="pdf-news">
    <div class="pdf-divbox">
        {% if  news_objs %}
            <table class="pdf-table">
                <thead>
                <tr>
                    <th style="width: 20px;"></th>
                    <th style="width:90px;">时间</th>
                    <th style="width:150px;">标题</th>
                    <th style="width:70px;">类型</th>
                    <th style="width:70px;">作者</th>
                    <th>摘要</th>
                    <th style="width:120px;">查看</th>
                </tr>
                </thead>
                <tbody>
                {% for news in news_objs %}
                    <tr>
                        <td class="pdf-counter">{{ forloop.counter }}</td>
                        <td>{{ news.event_time|eltimestamp|date:"Y-m-j"|elweizhi }}</td>
                        <td>{{ news.title }}</td>
                        <td>{{ news.category }}</td>
                        <td>{{ news.author }}</td>
                        <td>{{ news.content|safe }}</td>
                        <td class="pdf-break"><a href="{{ news.url }}" target="_blank">查看</a></td>
                    </tr>
                {% endfor %}
                </tbody>
            </table>
        {% else %}
            <p class="pdf-nodata">暂无</p>
        {% endif %}
    </div>
</div>
